superclass$80306$ - significado y definición. Qué es superclass$80306$
Diclib.com
Diccionario ChatGPT
Ingrese una palabra o frase en cualquier idioma 👆
Idioma:

Traducción y análisis de palabras por inteligencia artificial ChatGPT

En esta página puede obtener un análisis detallado de una palabra o frase, producido utilizando la mejor tecnología de inteligencia artificial hasta la fecha:

  • cómo se usa la palabra
  • frecuencia de uso
  • se utiliza con más frecuencia en el habla oral o escrita
  • opciones de traducción
  • ejemplos de uso (varias frases con traducción)
  • etimología

Qué (quién) es superclass$80306$ - definición

COMPUTER SCIENCE ALGORITHM FOR RESOLVING THE ORDER OF METHOD RESOLUTION IN MULTIPLE INHERITANCE CONDITIONS
C3 Algorithm; C3 method resolution; C3 superclass linearisation; C3 superclass linearization

superclass         
WIKIMEDIA DISAMBIGUATION PAGE
Super class; Superclass (disambiguation); Super Class
¦ noun Biology a taxonomic category that ranks above class and below phylum.
superclass         
WIKIMEDIA DISAMBIGUATION PAGE
Super class; Superclass (disambiguation); Super Class
derived class         
  • Illustration of method overriding
  • Multilevel inheritance
  • Multiple inheritance
  • Single inheritance
CONCEPT IN OBJECT-ORIENTED PROGRAMMING
Inheritance-oop; Inheritance in object-oriented programming; Hierarchy (object-oriented programming); Inheritance (computer science)/object-oriented programming; Is-a relation; Subclass (computer science); Inheritance (programming); Superclass (computer science); Base class; Derived class; Parent class; Early binding; Superclass (database theory); Subclass (database theory); Concrete superclass; Inheritance hierarchy; Super (computer science); Implementation inheritance; Inheritance (computer science); Type inheritance; Wikipedia talk:Articles for creation/Type Inheritance; Inherited class; Class inheritance; Subclassing (OOP); Static inheritance; Classical inheritance; Object inheritance
<programming> (Or "subclass") In object-oriented programming, a class that is derived from a base class by inheritance. The derived class contains all the features of the base class, but may have new features added or redefine existing features. The synonym "subclass" is possibly confusing since the derived class has a superset of the base class's features. Compare derived type. (2001-09-14)

Wikipedia

C3 linearization

"In object-oriented systems with multiple inheritance, some mechanism must be used for resolving conflicts when inheriting different definitions of the same property from multiple superclasses." C3 superclass linearization is an algorithm used primarily to obtain the order in which methods should be inherited in the presence of multiple inheritance. In other words, the output of C3 superclass linearization is a deterministic Method Resolution Order (MRO).

C3 superclass linearization is called C3 because it "is consistent with three properties":

  • a consistent extended precedence graph,
  • preservation of local precedence order, and
  • fitting a monotonicity criterion.

It was first published at the 1996 OOPSLA conference, in a paper entitled "A Monotonic Superclass Linearization for Dylan". It was adapted to the Open Dylan implementation in January 2012 following an enhancement proposal. It has been chosen as the default algorithm for method resolution in Python 2.3 (and newer), Raku, Parrot, Solidity, and PGF/TikZ's Object-Oriented Programming module. It is also available as an alternative, non-default MRO in the core of Perl 5 starting with version 5.10.0. An extension implementation for earlier versions of Perl 5 named Class::C3 exists on CPAN.

Python's Guido van Rossum summarizes C3 superclass linearization thus:

Basically, the idea behind C3 is that if you write down all of the ordering rules imposed by inheritance relationships in a complex class hierarchy, the algorithm will determine a monotonic ordering of the classes that satisfies all of them. If such an ordering can not be determined, the algorithm will fail.